package com.cjh.wechat.core.service;
import java.util.List;
import com.cjh.wechat.commom.pojo.User;
import com.cjh.wechat.commom.pojo.UserAndGroup;
import com.cjh.wechat.commom.vo.MineVo;

public interface UserAndGroupService
{
    public void updateGroupMember(String uid, String gid, String type) throws Exception;
    
    public List<User> findByGroupId(String gid);
    
    public List<UserAndGroup> findByUid(String uid);
    
    public List<MineVo> findByGid(String gid);
    
    public UserAndGroup findByUidAndGid(String uid, String gid);
    
    public void deleteByGid(String gid);
    
    public void deleteByUidAndGid(String uid, String gid);
    
    public void insert(UserAndGroup record);
}
